package com.appkubes.mall.core.service;

import com.appkubes.base.core.mbp.AbstractBaseService;
import com.appkubes.mall.core.dao.BaseMallPayDao;
import com.appkubes.mall.core.entity.MallPay;

import com.appkubes.base.core.entity.vo.PageVO;
import com.baomidou.mybatisplus.core.metadata.IPage;

import java.util.List;

/**
 * @author Rongjie
 * @description
 */

public interface BaseMallPayService extends AbstractBaseService<BaseMallPayDao, MallPay> {

    MallPay getOneByEntity(MallPay entity);

    List<MallPay> selectListByEntity(MallPay entity);

    IPage<MallPay> selectPageByEntity(IPage<MallPay> page);
    IPage<MallPay> selectPageByEntity(PageVO pageVO);

    IPage<MallPay> selectPageByEntity(MallPay entity, IPage<MallPay> page);
    IPage<MallPay> selectPageByEntity(MallPay entity, PageVO pageVO);

    IPage<MallPay> selectPageByEntity(MallPay entity, Integer pageNo, Integer pageSize);

    Boolean removeByEntity(MallPay entity);
}
